package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.SystemParmMapper;
import com.rongke.model.SystemParm;
import com.rongke.service.SystemParmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @SystemParmServiceImpl
 * @系统参数ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class SystemParmServiceImpl extends ServiceImpl<SystemParmMapper, SystemParm> implements SystemParmService {

    @Autowired
    private SystemParmMapper systemParmMapper;

    /**
     * @根据条件查找系统参数
     * @param systemParm
     * @return
     */
    @Override
    public List<SystemParm> selectByCondition(SystemParm systemParm) {
        return systemParmMapper.selectByCondition(systemParm);
    }
}
